package edu.xust.dao.impl;


import edu.xust.dao.StudentDao;
import edu.xust.entity.Student;

import java.util.Arrays;
import java.util.List;

public class StudentDaoImpl implements StudentDao {

    @Override
    public List<Student> getAllStudents() throws Exception {
        List<Student> students = Arrays.asList(
        new Student[]{new Student("0089","男"),new Student("0049","女"),new Student("0087","男")});
        return students;
    }

    @Override
    public Student getStudentById(String id) throws Exception {
        return null;
    }

    @Override
    public Integer addStudent(Student student) throws Exception {
        return null;
    }
}
